package com.pontodroid;

import android.os.AsyncTask;

class WebService extends AsyncTask<String, Void, String> {

    private Exception exception;

    protected void onPostExecute(String str) {
        // TODO: check this.exception 
        // TODO: do something with the feed
    }

	@Override
	protected String doInBackground(String... params) {
        try {
        	EasyHttpClient client = new EasyHttpClient();
        	//return client.get("http://genericus-furb.appspot.com/logon?name=patrick&password=patrick");
        	return client.get(params[0]);
        } catch (Exception e) {
            this.exception = e;
            return null;
        }
	}
 }

